package org.meeting.radish.mapper;

import org.meeting.radish.entity.Question;

import java.util.List;

public interface QuestionMapper {
    Integer addQuestion(Question question);
    Integer deleteQuestion(Integer qid);
    Integer updateQuestion(Question question);

    Question queryQuestionByQid(Integer qid);
    List<Question> queryUserQuestionByUid(Integer uid);
}
